// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** 查询果蔬种类集合 GET /data/dictionary/queryDicOfVegetableVariety */
export async function queryDicOfVegetableVarietyUsingGET(options?: { [key: string]: any }) {
  return request<API.BaseResultListVegetableVariety_>(
    '/data/dictionary/queryDicOfVegetableVariety',
    {
      method: 'GET',
      ...(options || {}),
    },
  );
}

/** 查询当前用户所在公司的种植地点列表 GET /data/dictionary/queryPlantLocationList */
export async function queryDicOfPlantLocationUsingGET(options?: { [key: string]: any }) {
  return request<API.BaseResultListAdminPlantLocationList_>(
    '/data/dictionary/queryPlantLocationList',
    {
      method: 'GET',
      ...(options || {}),
    },
  );
}
